emacs.git
6 months ago* admin/admin.el (set-version): Fix handling of official releases.
Eli Zaretskii [Thu, 14 Aug 2025 07:54:52 +0000 (03:54 -0400)]
* admin/admin.el (set-version): Fix handling of official releases.

6 months agoBump Emacs version
Eli Zaretskii [Thu, 14 Aug 2025 07:52:16 +0000 (03:52 -0400)]
Bump Emacs version

* README:
* configure.ac:
* exec/configure.ac:
* java/AndroidManifest.xml.in (Version-code):
* nt/README.W32:
* msdos/sed2v2.inp: Bump Emacs version to 30.2.

6 months ago; * etc/NEWS: Update for Emacs 30.2.
Eli Zaretskii [Thu, 14 Aug 2025 07:03:07 +0000 (03:03 -0400)]
; * etc/NEWS: Update for Emacs 30.2.

6 months ago; * lisp/emacs-lisp/cl-generic.el (cl-defgeneric): Doc fix (bug#79206).
Eli Zaretskii [Sun, 10 Aug 2025 08:45:31 +0000 (11:45 +0300)]
; * lisp/emacs-lisp/cl-generic.el (cl-defgeneric): Doc fix (bug#79206).

6 months ago; Fix autorevert-tests for MS-Window
Eli Zaretskii [Sat, 9 Aug 2025 08:29:15 +0000 (11:29 +0300)]
; Fix autorevert-tests for MS-Window

* test/lisp/autorevert-tests.el
(auto-revert-test04-auto-revert-mode-dired): Fix for MS-Windows.

6 months agoHandle remote file names in cmuscheme.el
Vinícius Moraes [Sat, 2 Aug 2025 23:52:27 +0000 (20:52 -0300)]
Handle remote file names in cmuscheme.el

* lisp/cmuscheme.el (scheme-load-file, scheme-compile-file): Use
'file-local-name' to handle file names on remote systems.
(Bug#79163)

Copyright-paperwork-exempt: yes

6 months ago* lisp/vc/vc.el (vc-register): Fix interactive spec (bug#79183).
Sean Whitton [Wed, 6 Aug 2025 14:15:57 +0000 (15:15 +0100)]
* lisp/vc/vc.el (vc-register): Fix interactive spec (bug#79183).

6 months ago; windows installer: set x64 registry keys (tiny change)
Alberto Santini [Tue, 5 Aug 2025 02:55:29 +0000 (21:55 -0500)]
; windows installer: set x64 registry keys (tiny change)

* admin/nt/dist-build/emacs.nsi: set x64 registry keys

6 months ago; Fix documentation of 'find-file-noselect'
Eli Zaretskii [Sat, 2 Aug 2025 14:33:15 +0000 (17:33 +0300)]
; Fix documentation of 'find-file-noselect'

* doc/lispref/files.texi (Visiting Functions):
* lisp/files.el (find-file-noselect): Document that NOWARN non-nil
also bypasses the file's last change verification.  (Bug#79127)

6 months ago* doc/misc/gnus.texi (Category Syntax): Update gnus-agent-predicate.
James Thomas [Tue, 29 Jul 2025 20:24:43 +0000 (01:54 +0530)]
* doc/misc/gnus.texi (Category Syntax): Update gnus-agent-predicate.

This updates the Gnus manual due to recent code change (bug#79123).

6 months ago; Improve documentation of change hooks
Eli Zaretskii [Wed, 30 Jul 2025 16:48:07 +0000 (19:48 +0300)]
; Improve documentation of change hooks

* doc/lispref/text.texi (Change Hooks): Warn against buffer
changes in the hook functions.  (Bug#79115)

6 months ago; * lisp/image.el (image-supported-file-p): Doc fix (bug#79117).
Eli Zaretskii [Tue, 29 Jul 2025 11:08:29 +0000 (14:08 +0300)]
; * lisp/image.el (image-supported-file-p): Doc fix (bug#79117).

6 months ago; Update documentation of GC in ELisp manual
Eli Zaretskii [Mon, 28 Jul 2025 13:14:44 +0000 (16:14 +0300)]
; Update documentation of GC in ELisp manual

* doc/lispref/internals.texi (Garbage Collection): Update default
values for GC-related thresholds.  (Bug#79074)

6 months agoPrefer "tls" to "ssl" in documentation
Robert Pluim [Mon, 28 Jul 2025 12:11:50 +0000 (14:11 +0200)]
Prefer "tls" to "ssl" in documentation

* doc/misc/gnus.texi (NNTP): Refer to 'nntp-open-tls-stream'.
(Direct Functions, Customizing the IMAP Connection): Add
commentary about desirability of STARTTLS.  Correct
documentation about use of GnuTLS.  Use 'tls in example.
* lisp/gnus/nnimap.el (nnimap-server-port): Mention 'tls in
preference to 'ssl.
* lisp/gnus/nntp.el (nntp-open-connection-function)
(nntp-never-echoes-commands): Document 'nntp-open-tls-stream' as
preferred to 'nntp-open-ssl-stream'.

6 months agoloaddefs-generate--rubric: Note about committing ldefs-boot.el
Sean Whitton [Sat, 26 Jul 2025 09:22:09 +0000 (10:22 +0100)]
loaddefs-generate--rubric: Note about committing ldefs-boot.el

* lisp/emacs-lisp/loaddefs-gen.el (loaddefs-generate--rubric):
Note that ldefs-boot.el should be committed on its own.

6 months ago; Fix documentation of 'other-window'
Eli Zaretskii [Sat, 26 Jul 2025 08:36:16 +0000 (11:36 +0300)]
; Fix documentation of 'other-window'

* doc/lispref/windows.texi (Cyclic Window Ordering):
* lisp/window.el (other-window): Document ALL-FRAMES in interactive
invocations.

6 months ago; * lisp/international/quail.el (quail-insert-kbd-layout): Commentary.
Eli Zaretskii [Fri, 25 Jul 2025 12:25:40 +0000 (15:25 +0300)]
; * lisp/international/quail.el (quail-insert-kbd-layout): Commentary.

6 months ago; face-font-family-alternatives, fixed-pitch: Comments.
Sean Whitton [Fri, 25 Jul 2025 08:05:24 +0000 (09:05 +0100)]
; face-font-family-alternatives, fixed-pitch: Comments.

7 months agoFix Eshell call to 'string-suffix-p' when checking for trailing newline
Jim Porter [Mon, 21 Jul 2025 04:17:05 +0000 (21:17 -0700)]
Fix Eshell call to 'string-suffix-p' when checking for trailing newline

* lisp/eshell/esh-io.el (eshell--output-maybe-n): Fix call.

* test/lisp/eshell/esh-io-tests.el
(esh-io-test/output-newline/add-newline)
(esh-io-test/output-newline/no-newline)
(esh-io-test/output-newline/no-extra-newline): New tests (bug#79063).

7 months ago* etc/PROBLEMS: Describe how to work around screen reader TAB issue
Robert Pluim [Mon, 21 Jul 2025 13:44:49 +0000 (15:44 +0200)]
* etc/PROBLEMS: Describe how to work around screen reader TAB issue

7 months ago(gnus)Scoring Tips: New tip regarding header continuation lines
Sean Whitton [Mon, 21 Jul 2025 08:54:02 +0000 (09:54 +0100)]
(gnus)Scoring Tips: New tip regarding header continuation lines

* doc/misc/gnus.texi (Scoring Tips): New "Continuation lines
when scoring on other headers" tip.

7 months ago; Fix last change (bug#79042)
Eli Zaretskii [Sat, 19 Jul 2025 10:05:05 +0000 (13:05 +0300)]
; Fix last change (bug#79042)

7 months ago; Fix last change
Eli Zaretskii [Sat, 19 Jul 2025 10:04:29 +0000 (13:04 +0300)]
; Fix last change

* lisp/image/image-dired-dired.el
(image-dired-dired-toggle-marked-thumbs): Doc fix (bug#79042),

7 months ago; Update doc strings of Dired functions due to 'marked' value of ARG
Eli Zaretskii [Sat, 19 Jul 2025 09:50:43 +0000 (12:50 +0300)]
; Update doc strings of Dired functions due to 'marked' value of ARG

* lisp/dired-aux.el (dired-do-compress, dired-do-byte-compile)
(dired-do-load, dired-do-redisplay):
* lisp/dired.el (dired-map-over-marks, dired-get-marked-files)
(dired-mouse-drag, dired-do-delete): Doc fixes (bug#79042).

7 months ago; * lisp/battery.el (battery-bsd-apm): Explain a FIXME (bug#79040).
Manuel Giraud [Thu, 17 Jul 2025 12:22:26 +0000 (14:22 +0200)]
; * lisp/battery.el (battery-bsd-apm): Explain a FIXME (bug#79040).

7 months agoFix :box attribute of faces in Leuven themes.
Ken Mankoff [Wed, 16 Jul 2025 09:44:47 +0000 (05:44 -0400)]
Fix :box attribute of faces in Leuven themes.

* etc/themes/leuven-dark-theme.el:
* etc/themes/leuven-theme.el: Fix 'lui-highlight-face' face.
(Bug#79029)

7 months ago; define-globalized-minor-mode: Fix capitalization.
Sean Whitton [Wed, 16 Jul 2025 10:20:08 +0000 (11:20 +0100)]
; define-globalized-minor-mode: Fix capitalization.

7 months ago; * lisp/vc/diff-mode.el (diff-mode): Scare-quote 'normal'.
Sean Whitton [Wed, 16 Jul 2025 10:17:58 +0000 (11:17 +0100)]
; * lisp/vc/diff-mode.el (diff-mode): Scare-quote 'normal'.

7 months ago; * lisp/window.el (window-state-put): Fix a typo (bug#79013).
Eli Zaretskii [Mon, 14 Jul 2025 11:35:31 +0000 (14:35 +0300)]
; * lisp/window.el (window-state-put): Fix a typo (bug#79013).

7 months ago; define-globalized-minor-mode: Fix info node link in docstring.
Sean Whitton [Sun, 13 Jul 2025 11:24:12 +0000 (12:24 +0100)]
; define-globalized-minor-mode: Fix info node link in docstring.

7 months ago; * doc/emacs/custom.texi (Init File): Mention "M-x customize".
Eli Zaretskii [Sat, 12 Jul 2025 09:01:05 +0000 (12:01 +0300)]
; * doc/emacs/custom.texi (Init File): Mention "M-x customize".

7 months ago; Fix indexing in Emacs user manual
Eli Zaretskii [Fri, 11 Jul 2025 06:24:50 +0000 (09:24 +0300)]
; Fix indexing in Emacs user manual

* doc/emacs/frames.texi (Creating Frames):
* doc/emacs/windows.texi (Pop Up Window): Fix indexing and
wording.  (Bug#78945)

7 months agoNativecomp don't error with undeclared types (bug#6573) (don't merge)
Andrea Corallo [Tue, 17 Jun 2025 07:06:45 +0000 (09:06 +0200)]
Nativecomp don't error with undeclared types (bug#6573) (don't merge)

Backporting f38e969e472 from trunk to emacs-30

* test/src/comp-resources/comp-test-funcs.el (comp-test-76573-1-f): New
function.
* lisp/emacs-lisp/comp-cstr.el (comp-supertypes): Don't error if 'type'
is unknown.

7 months ago; Fix typos
Robert Pluim [Mon, 7 Jul 2025 12:49:23 +0000 (14:49 +0200)]
; Fix typos

* lisp/emacs-lisp/warnings.el (warning-display-at-bottom): Fix typo.
* lisp/replace.el (query-replace-help): Typo fix.

7 months agoFix 'kill-ring-deindent-mode'
Eli Zaretskii [Sat, 26 Apr 2025 14:30:20 +0000 (17:30 +0300)]
Fix 'kill-ring-deindent-mode'

* lisp/indent-aux.el
(kill-ring-deindent-buffer-substring-function): Fix deindenting
for modes which set 'indent-tab-mode' to nil.  (Bug#77981)

(cherry picked from commit 1c7fe501fedb41aaf5b22d82dab5a365f86e4c85)

7 months ago; * lisp/replace.el (query-replace-help): Fix help text (bug#78916).
Eli Zaretskii [Sat, 5 Jul 2025 06:47:23 +0000 (09:47 +0300)]
; * lisp/replace.el (query-replace-help): Fix help text (bug#78916).

7 months ago; * lisp/emacs-lisp/warnings.el (warning-display-at-bottom): Doc fix.
Eli Zaretskii [Sat, 5 Jul 2025 06:17:40 +0000 (09:17 +0300)]
; * lisp/emacs-lisp/warnings.el (warning-display-at-bottom): Doc fix.

7 months agoHandle ts_node_type return NULL (bug#78938)
Yuan Fu [Fri, 4 Jul 2025 20:13:36 +0000 (13:13 -0700)]
Handle ts_node_type return NULL (bug#78938)

* src/treesit.c (treesit_traverse_match_predicate): Handle the
case when ts_node_type returns NULL.
(Ftreesit_node_type): Add some comment.

7 months agoImprove documentation of 'warning-display-at-bottom'
Eli Zaretskii [Fri, 4 Jul 2025 12:02:29 +0000 (15:02 +0300)]
Improve documentation of 'warning-display-at-bottom'

* lisp/emacs-lisp/warnings.el (warning-display-at-bottom):
* doc/lispref/display.texi (Warning Options):
* doc/emacs/windows.texi (Temporary Displays):
* etc/NEWS: Improve documentation of 'warning-display-at-bottom'.
See https://lists.gnu.org/archive/html/emacs-devel/2025-07/msg00024.html
for more details.

7 months agoHandle the case when ts_node_type returns NULL (bug#78938)
Yuan Fu [Fri, 4 Jul 2025 06:36:44 +0000 (23:36 -0700)]
Handle the case when ts_node_type returns NULL (bug#78938)

* src/treesit.c (Ftreesit_node_type): Handle NULL.

7 months ago; * lisp/emacs-lisp/bytecomp.el (compilation-safety): Doc fix (bug#78394).
Eli Zaretskii [Tue, 1 Jul 2025 11:17:42 +0000 (14:17 +0300)]
; * lisp/emacs-lisp/bytecomp.el (compilation-safety): Doc fix (bug#78394).

7 months ago; * doc/lispref/functions.texi (Mapping Functions): Fix wording (bug#78930).
Eli Zaretskii [Mon, 30 Jun 2025 19:06:15 +0000 (22:06 +0300)]
; * doc/lispref/functions.texi (Mapping Functions): Fix wording (bug#78930).

7 months agoPopulate the ':title' in EWW when defaulting to readable mode
Jim Porter [Thu, 19 Jun 2025 19:23:24 +0000 (12:23 -0700)]
Populate the ':title' in EWW when defaulting to readable mode

Do not merge to master.

* lisp/net/eww.el (eww-display-document): Always render the full
document first to populate ':title' (bug#77299).

7 months ago; * doc/lispref/threads.texi (Condition Variables): Fix wording.
Eli Zaretskii [Sat, 28 Jun 2025 19:17:06 +0000 (22:17 +0300)]
; * doc/lispref/threads.texi (Condition Variables): Fix wording.

7 months agobug#78901: [PATCH] js-ts-mode: Fix auto-mode-alist regexp
Liam Hupfer [Thu, 26 Jun 2025 03:47:34 +0000 (22:47 -0500)]
bug#78901: [PATCH] js-ts-mode: Fix auto-mode-alist regexp

Align the js-ts-mode entry with the javascript-mode entries in the
default auto-mode-alist value in lisp/files.el. Otherwise, js-ts-mode is
not associated with .js files.

* lisp/progmodes/js.el (js-ts-mode): Fix auto-mode-alist regexp.

Fixes: 2023-01-20 6b2f85caa6ca "Make tree-sitter based modes optional"
7 months agoMerge branch 'emacs-30' of git.sv.gnu.org:/srv/git/emacs into emacs-30
Eli Zaretskii [Wed, 25 Jun 2025 16:19:36 +0000 (12:19 -0400)]
Merge branch 'emacs-30' of git.sv.gnu.org:/srv/git/emacs into emacs-30

7 months agoFix 'insert-directory' in Turkish language-environment
Eli Zaretskii [Wed, 25 Jun 2025 16:17:59 +0000 (12:17 -0400)]
Fix 'insert-directory' in Turkish language-environment

* lisp/files.el (insert-directory-clean, insert-directory): Use
case-sensitive search for "//DIRED//" and similar strings.
(Bug#78894)

7 months agoFix job control in remote shell
Michael Albinus [Wed, 25 Jun 2025 07:32:20 +0000 (09:32 +0200)]
Fix job control in remote shell

* lisp/net/tramp-sh.el (tramp-methods) <rsync>:
Adapt `tramp-direct-async' argument.  (Bug#71050, Bug#71259)

8 months ago; * doc/emacs/package.texi (Package Statuses): Clarify "new".
Eli Zaretskii [Sun, 22 Jun 2025 08:13:55 +0000 (11:13 +0300)]
; * doc/emacs/package.texi (Package Statuses): Clarify "new".

8 months agoWorkaround for "M-x man" on macOS 15 and later
Eli Zaretskii [Sat, 21 Jun 2025 09:33:12 +0000 (12:33 +0300)]
Workaround for "M-x man" on macOS 15 and later

* lisp/man.el (Man-init-defvars): Workaround for macOS Sed.  Do
not merge to master.  (Bug#77944)

8 months ago; Fix customization and doc strings in pp.el
Eli Zaretskii [Mon, 16 Jun 2025 07:00:41 +0000 (10:00 +0300)]
; Fix customization and doc strings in pp.el

* lisp/emacs-lisp/pp.el (pp-default-function): Fix :tag's.
(pp-29, pp-28): Doc fixes.  (Bug#78801)

8 months agoInsert missing step to make use of directory tracking OSC codes
Sean Whitton [Wed, 11 Jun 2025 14:23:32 +0000 (15:23 +0100)]
Insert missing step to make use of directory tracking OSC codes

* doc/emacs/misc.texi (Interactive Shell): Say to add
comint-osc-process-output to comint-output-filter-function.

8 months ago* lisp/keymap.el (keymap-set): Refer to 'key-description'. (Bug#78714)
Robert Pluim [Tue, 10 Jun 2025 07:48:20 +0000 (09:48 +0200)]
* lisp/keymap.el (keymap-set): Refer to 'key-description'.  (Bug#78714)

8 months agoSupport new tree-sitter grammar filename format (bug#78754)
Yuan Fu [Wed, 11 Jun 2025 05:55:58 +0000 (22:55 -0700)]
Support new tree-sitter grammar filename format (bug#78754)

Previously Emacs only looks for filenames like
libtree-sitter-json.so.0.0.  Now Emacs also look for filenames
like libtree-sitter-json.so.15.0.

* src/treesit.c:
(treesit_load_language_push_for_each_suffix): Add versioned
candidate to candidate list too.

8 months agoFix crash when evaluating "(signal nil 5)" (bug#78738)
Pip Cet [Tue, 10 Jun 2025 12:00:30 +0000 (12:00 +0000)]
Fix crash when evaluating "(signal nil 5)" (bug#78738)

The docstring already warns against calling signal with a nil
error symbol, which is for internal use only, but we can avoid crashing
in this case.

* src/eval.c (Fsignal): Produce a "peculiar error" for more arguments
involving non-lists.

8 months agoMerge branch 'emacs-30' of git.savannah.gnu.org:/srv/git/emacs into emacs-30
Eli Zaretskii [Mon, 9 Jun 2025 14:02:03 +0000 (17:02 +0300)]
Merge branch 'emacs-30' of git.savannah.gnu.org:/srv/git/emacs into emacs-30

8 months ago; * doc/lispref/modes.texi (Font Lock Basics): Remove old info (bug#78720).
Eli Zaretskii [Sun, 8 Jun 2025 15:43:20 +0000 (18:43 +0300)]
; * doc/lispref/modes.texi (Font Lock Basics): Remove old info (bug#78720).

8 months agoAdapt emba integration (don't merge)
Michael Albinus [Sun, 8 Jun 2025 12:47:26 +0000 (14:47 +0200)]
Adapt emba integration (don't merge)

* test/infra/Dockerfile.emba (emacs-inotify): Don't install clangd.

* test/infra/gitlab-ci.yml (.job-template): Make actions in
after_script more robust.

8 months ago; * doc/emacs/misc.texi (Network Security): Fix typo.
Robert Pluim [Thu, 5 Jun 2025 14:09:11 +0000 (16:09 +0200)]
; * doc/emacs/misc.texi (Network Security): Fix typo.

8 months ago; * lisp/treesit.el (treesit-beginning-of-defun): Doc fix (bug#78703).
Eli Zaretskii [Fri, 6 Jun 2025 07:00:20 +0000 (10:00 +0300)]
; * lisp/treesit.el (treesit-beginning-of-defun): Doc fix (bug#78703).

8 months agoMake xoauth2 auth fail when a smtp server replies 334 (Bug#78366)
Xiyue Deng [Fri, 16 May 2025 09:48:52 +0000 (02:48 -0700)]
Make xoauth2 auth fail when a smtp server replies 334 (Bug#78366)

* lisp/mail/smtpmail.el (smtpmail-try-auth-method): Throw error 535
when receiving a "334 server challenge" reply.

(cherry picked from commit 53371c959462a677a29ee869b3b6627facf3ed79)

8 months ago; * etc/PROBLEMS: Improve the item about 'C-S-u' in PGTK build.
Eli Zaretskii [Mon, 2 Jun 2025 15:34:21 +0000 (18:34 +0300)]
; * etc/PROBLEMS: Improve the item about 'C-S-u' in PGTK build.

8 months ago; * lisp/subr.el (setq-local): Doc fix (bug#78644).
Eli Zaretskii [Sat, 31 May 2025 08:12:58 +0000 (11:12 +0300)]
; * lisp/subr.el (setq-local): Doc fix (bug#78644).

8 months agoRevert "; * lisp/subr.el (setq-local): Doc fix (bug#78644)."
Eli Zaretskii [Sat, 31 May 2025 08:08:45 +0000 (11:08 +0300)]
Revert "; * lisp/subr.el (setq-local): Doc fix (bug#78644)."

This reverts commit cb9556d669c037c4e2f1a9c80adacad55948c706.
Some of its parts were not supposed to be installed.

8 months ago; * lisp/subr.el (setq-local): Doc fix (bug#78644).
Eli Zaretskii [Sat, 31 May 2025 07:05:06 +0000 (10:05 +0300)]
; * lisp/subr.el (setq-local): Doc fix (bug#78644).

8 months ago; * doc/lispref/searching.texi (Char Classes): Add speedup advice.
Eli Zaretskii [Thu, 29 May 2025 16:02:13 +0000 (19:02 +0300)]
; * doc/lispref/searching.texi (Char Classes): Add speedup advice.

8 months agoFix bug in 'todo-jump-to-category' (bug#78608)
Stephen Berman [Wed, 28 May 2025 15:17:23 +0000 (17:17 +0200)]
Fix bug in 'todo-jump-to-category' (bug#78608)

* lisp/calendar/todo-mode.el (todo-jump-to-category): Eliminate
comparison of the number of Todo categories before and after
specifying the category to jump to and replace it by a check of
whether there are any items in the category, since an existing
category should always have at least one item (perhaps done or
archived).

8 months agoFix gitlab-ci.yml (don't merge to master)
Michael Albinus [Tue, 27 May 2025 07:10:51 +0000 (09:10 +0200)]
Fix gitlab-ci.yml (don't merge to master)

* test/infra/gitlab-ci.yml (.job-template): Fix config.log name.
(test-filenotify-gio, test-eglot): Fix formatting.

8 months agotypescript-ts-mode: Improve function body indentation (bug#78121)
Konstantin Kharlamov [Tue, 29 Apr 2025 14:51:18 +0000 (21:51 +0700)]
typescript-ts-mode: Improve function body indentation (bug#78121)

Older code was calculating body indentation depending on function
parameters alignment.  This is incorrect, because if parameters are
misaligned, so will the function body.  Instead, use offset of the
previous standalone parent.

* lisp/progmodes/typescript-ts-mode.el:
(typescript-ts-mode--indent-rules): Stop depending on function
parameters indentation for calculating body content and the closing
`}'.
* test/lisp/progmodes/typescript-ts-mode-resources/indent.erts:
(Function body with params misindented (bug#78121)): Add new test.

8 months ago; * CONTRIBUTE: Explain the line-width preferences.
Eli Zaretskii [Sun, 25 May 2025 09:08:02 +0000 (12:08 +0300)]
; * CONTRIBUTE: Explain the line-width preferences.

8 months ago; * doc/misc/use-package.texi (Hooks): Fix typo (bug#77609).
Eli Zaretskii [Sat, 24 May 2025 09:59:19 +0000 (12:59 +0300)]
; * doc/misc/use-package.texi (Hooks): Fix typo (bug#77609).

8 months agoFix documentation of use-package's ':hook' keyword
Eli Zaretskii [Sat, 24 May 2025 09:56:30 +0000 (12:56 +0300)]
Fix documentation of use-package's ':hook' keyword

* doc/misc/use-package.texi (Hooks): Document how to add several
functions to the same hook (bug#77609).

9 months ago* test/infra/gitlab-ci.yml (.job-template): Make it more robust.
Michael Albinus [Thu, 22 May 2025 11:18:11 +0000 (13:18 +0200)]
* test/infra/gitlab-ci.yml (.job-template): Make it more robust.

9 months ago; * lisp/emacs-lisp/find-func.el (find-function): Doc fix.
Eli Zaretskii [Thu, 22 May 2025 06:43:45 +0000 (09:43 +0300)]
; * lisp/emacs-lisp/find-func.el (find-function): Doc fix.

9 months agoFix todo-mode item insertion bug (bug#78506)
Stephen Berman [Tue, 20 May 2025 13:29:58 +0000 (15:29 +0200)]
Fix todo-mode item insertion bug (bug#78506)

* lisp/calendar/todo-mode.el (todo-insert-item--next-param): Unset
transient keymap on completing default or copy item insertion
command, to ensure that the next Todo mode key is recognized.

9 months agoAdd support for Pyrefly LSP for Python
Jostein Kjønigsen [Mon, 19 May 2025 08:00:37 +0000 (10:00 +0200)]
Add support for Pyrefly LSP for Python

* lisp/progmodes/eglot.el (eglot-server-programs): Add config
for Pyrefly.  (Bug#78492)

9 months ago; Sync with Tramp 2.7.3.30.2 (Do not merge to master)
Michael Albinus [Sun, 18 May 2025 19:20:41 +0000 (21:20 +0200)]
; Sync with Tramp 2.7.3.30.2 (Do not merge to master)

* doc/misc/trampver.texi:
* lisp/net/trampver.el (tramp-version): Adapt Tramp versions.

9 months agoAdapt Tramp version in customize-package-emacs-version-alist
Michael Albinus [Sun, 18 May 2025 19:12:41 +0000 (21:12 +0200)]
Adapt Tramp version in customize-package-emacs-version-alist

* lisp/net/trampver.el (customize-package-emacs-version-alist):
Add Tramp version integrated in Emacs 30.1.

9 months ago; * ChangeLog.5: Delete entry for minor change.
Sean Whitton [Sun, 18 May 2025 19:00:07 +0000 (20:00 +0100)]
; * ChangeLog.5: Delete entry for minor change.

9 months ago; Update ChangeLog and AUTHORS for Emacs 30.2
Eli Zaretskii [Sun, 18 May 2025 09:25:35 +0000 (05:25 -0400)]
; Update ChangeLog and AUTHORS for Emacs 30.2

* etc/AUTHORS:
^ ChangeLog.5: Update.

9 months ago; Update ldefs-boot.el. Do not merge to master.
Eli Zaretskii [Sun, 18 May 2025 09:24:11 +0000 (05:24 -0400)]
; Update ldefs-boot.el.  Do not merge to master.

9 months ago; Bump Emacs version to 30.1.90
Eli Zaretskii [Sun, 18 May 2025 09:08:31 +0000 (05:08 -0400)]
; Bump Emacs version to 30.1.90

* README:
* configure.ac:
* exec/configure.ac:
* java/AndroidManifest.xml.in (Version-code):
* nt/README.W32:
* msdos/sed2v2.inp: Bump Emacs version to 30.1.90.

9 months agoFix saving abbrevs by 'abbrev-edit-save-buffer'
Eli Zaretskii [Sat, 17 May 2025 10:00:13 +0000 (13:00 +0300)]
Fix saving abbrevs by 'abbrev-edit-save-buffer'

* lisp/abbrev.el (abbrev-edit-save-buffer): Reset
'abbrevs-changed'.  Suggested by Rick <rbielaws@gmail.com>.
(Bug#78435)

9 months ago; Remove confusing text from ELisp manual
Eli Zaretskii [Sat, 17 May 2025 09:35:29 +0000 (12:35 +0300)]
; Remove confusing text from ELisp manual

* doc/lispref/variables.texi (Defining Variables): Remove outdated
confusing warning.  For the details, see
https://lists.gnu.org/archive/html/emacs-devel/2025-05/msg00332.html.

9 months ago; * doc/emacs/cmdargs.texi (General Variables): More accurate wording.
Eli Zaretskii [Fri, 16 May 2025 12:39:53 +0000 (15:39 +0300)]
; * doc/emacs/cmdargs.texi (General Variables): More accurate wording.

9 months ago; Improve documentation of the -L command-line option
Eli Zaretskii [Fri, 16 May 2025 12:02:58 +0000 (15:02 +0300)]
; Improve documentation of the -L command-line option

* doc/emacs/cmdargs.texi (Action Arguments): Mention that '-L' is
in effect only after the init files are loaded.

9 months agotypescript-ts-mode: align ternary-chain branches (bug#78187)
Konstantin Kharlamov [Thu, 1 May 2025 13:28:29 +0000 (20:28 +0700)]
typescript-ts-mode: align ternary-chain branches (bug#78187)

* lisp/progmodes/typescript-ts-mode.el:
(typescript-ts-mode--indent-rules): Make sure each new ternary
branch is aligned with the previous one.
* test/lisp/progmodes/typescript-ts-mode-resources/indent.erts:
(Chained ternary expressions): New test.

9 months ago; Tramp test fixes
Michael Albinus [Thu, 15 May 2025 13:15:22 +0000 (15:15 +0200)]
; Tramp test fixes

* test/lisp/net/tramp-tests.el
(tramp-test26-interactive-file-name-completion): Simplify.
(tramp--test-putty-p): Fix docstring.
(tramp--test-scp-p): New defun.
(tramp-test42-utf8): Use it.

9 months ago; Time Stamps doc: Clearer customize recipe
Stephen Gildea [Tue, 13 May 2025 22:58:07 +0000 (15:58 -0700)]
; Time Stamps doc: Clearer customize recipe

* doc/emacs/files.texi (Time Stamps): Reorder the customize sentence so
that the key words come in the order you would use them.

9 months ago; * doc/lispref/variables.texi (Default Value): Update.
Sean Whitton [Tue, 13 May 2025 11:07:09 +0000 (12:07 +0100)]
; * doc/lispref/variables.texi (Default Value): Update.

Frame-local variables have been removed.

9 months ago; * lisp/mh-e/mh-e.el: Commentary: link to The MH-E Manual
Stephen Gildea [Sun, 11 May 2025 15:45:05 +0000 (08:45 -0700)]
; * lisp/mh-e/mh-e.el: Commentary: link to The MH-E Manual

9 months agoImprove Tramp test
Michael Albinus [Sun, 11 May 2025 12:25:59 +0000 (14:25 +0200)]
Improve Tramp test

* test/lisp/net/tramp-tests.el
(tramp-test26-interactive-file-name-completion): Adapt test.

9 months ago* lisp/autorevert.el (auto-revert-remote-files): Adapt docstring.
Michael Albinus [Sun, 11 May 2025 12:25:32 +0000 (14:25 +0200)]
* lisp/autorevert.el (auto-revert-remote-files): Adapt docstring.

9 months ago; Improve documentation of ls-lisp.el
Eli Zaretskii [Sun, 11 May 2025 11:42:51 +0000 (14:42 +0300)]
; Improve documentation of ls-lisp.el

* lisp/ls-lisp.el (ls-lisp-format-time-list)
(ls-lisp-use-localized-time-format, ls-lisp-format-time): Doc
fixes.

9 months ago; * lisp/emacs-lisp/comp.el (native-compile-prune-cache): Doc fix.
Eli Zaretskii [Sat, 10 May 2025 19:23:27 +0000 (22:23 +0300)]
; * lisp/emacs-lisp/comp.el (native-compile-prune-cache): Doc fix.

9 months agoImprove Electric Pair mode documentation (bug#78021)
Stephen Berman [Sat, 10 May 2025 14:25:05 +0000 (16:25 +0200)]
Improve Electric Pair mode documentation (bug#78021)

* doc/emacs/programs.texi (Matching): Clarify and improve
documentation of Electric Pair mode.

* lisp/elec-pair.el: Improve description in header line.  Add text
and a reference to the Emacs user manual in the Commentary section.
(electric-pair-skip-self, electric-pair-inhibit-predicate)
(electric-pair-preserve-balance)
(electric-pair-delete-adjacent-pairs)
(electric-pair-open-newline-between-pairs)
(electric-pair-skip-whitespace)
(electric-pair-skip-whitespace-function)
(electric-pair-analyze-conversion)
(electric-pair--skip-whitespace)
(electric-pair-text-syntax-table, electric-pair--with-syntax)
(electric-pair-syntax-info, electric-pair--insert)
(electric-pair--syntax-ppss, electric-pair--balance-info)
(electric-pair-inhibit-if-helps-balance)
(electric-pair-skip-if-helps-balance)
(electric-pair-open-newline-between-pairs-psif)
(electric-pair-mode): Clarify and improve doc strings and some comments.
(electric-pair-post-self-insert-function): Restructure doc string
to shorten overlong first line, and reformat overlong lines of code.

9 months agoFix indentation of XML comments
Eli Zaretskii [Sat, 10 May 2025 10:11:22 +0000 (13:11 +0300)]
Fix indentation of XML comments

* lisp/nxml/nxml-mode.el (nxml-compute-indent-in-delimited-token):
Fix indentation in XML comments with empty lines.  Patch by John
Ciolfi <ciolfi@mathworks.com>.  (Bug#73206)

9 months agoImprove Tramp's make-process handling for Solaris
Michael Albinus [Sat, 10 May 2025 08:05:51 +0000 (10:05 +0200)]
Improve Tramp's make-process handling for Solaris

* lisp/net/tramp-sh.el (tramp-sh-handle-make-process):
Disable buffering also for remote Solaris hosts.
Reported by Stacey Marshall <stacey.marshall@gmail.com>.

9 months agoDocument 'time-stamp-time-zone' in Emacs Manual
Stephen Gildea [Thu, 8 May 2025 21:48:22 +0000 (14:48 -0700)]
Document 'time-stamp-time-zone' in Emacs Manual

* doc/emacs/files.texi (Time Stamp Customization): Document
time-stamp-time-zone.

9 months agoMake treesit--simple-indent-eval more permissive (bug#78065)
Yuan Fu [Wed, 7 May 2025 03:57:06 +0000 (20:57 -0700)]
Make treesit--simple-indent-eval more permissive (bug#78065)

* lisp/treesit.el (treesit--simple-indent-eval): Allow EXP to be
anything, so higher-order indent presets can take anything as an
argument: t, nil, symbols, keywords, etc.